<?php
	if(!$menu){
		echo $this->element('user_menu');      
		echo $this->element('banner');
	} 
?>
<div id="left_container">
<?php echo $this->element('advertisement',array('category' => 'contact-us'));?>
<?php echo $this->element('left_bar');?>  
<?php 
	$condition = $this->requestAction('articles/getArticles/term-condition');
	if($condition != ''){
?>
 <div class="block">
            <div class="head">
            	<span class="heading">
            		Accept Terms and Conditions
            	</span> 
            </div>
            <div class="container group">
            	<?php echo $condition[0]['Article']['short_description'];?>
            	<?php echo '<br />'.$this->Form->input('Accept', array('type' => 'checkbox','id' =>'accept'));?>
            </div>
</div>
<?php 
	}
?>
<script type = "text/javascript">
	$(function(){
		$('#accept').click(function(event){
			if($(this).is(':checked')){
				var url = __HOST_NAME__ + '/staffs/add/';
				$(location).attr('href',url);
			}
		});
	});
</script>


